package com.itheima.config;


import org.springframework.context.annotation.*;
import org.springframework.transaction.annotation.EnableTransactionManagement;

@Configuration
@ComponentScan("com.itheima")
@PropertySource({"classpath:jdbc.properties","classpath:redis.properties"})
@Import({JdbcConfig.class,MyBatisConfig.class,TransactionManagerConfig.class,RedisConfig.class})
@EnableAspectJAutoProxy
@EnableTransactionManagement// <tx:annotation-driven transaction-manager="transactionManager"/>
public class SpringConfig {
}
